﻿CREATE TABLE [dbo].[ConfigMediCab] (
    [idConfig]   INT           IDENTITY (1, 1) NOT NULL,
    [NumeFirma1] VARCHAR (100) NOT NULL,
    [NumeFirma2] VARCHAR (100) NULL,
    [Titlu1]     VARCHAR (50)  NULL,
    [Titlu2]     VARCHAR (50)  NULL,
    [Adresa]     VARCHAR (200) NULL,
    [Orar]       VARCHAR (50)  NULL,
    [Imagistica] BIT           CONSTRAINT [DF_ConfigMediCab_Imagistica] DEFAULT ((0)) NOT NULL,
    [CodUnitate] SMALLINT      NULL,
    CONSTRAINT [PK_ConfigMediCab] PRIMARY KEY CLUSTERED ([idConfig] ASC),
    CONSTRAINT [FK_ConfigMediCab_Unitati] FOREIGN KEY ([CodUnitate]) REFERENCES [dbo].[Unitati] ([CodUnitate])
);

